import 'package:flutter/material.dart';

import 'window_control_button.dart';

class WindowHeader extends StatelessWidget {
  const WindowHeader({super.key});

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.symmetric(horizontal: 16),
      child: Row(
        children: [
          CircleAvatar(
            radius: 14,
            child: Image.asset("assets/images/logo.png"),
          ),
          const SizedBox(width: 8),
          const Text("Silk Decoder"),
          const Spacer(),
          const WindowControlButton(),
        ],
      ),
    );
  }
}
